﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/Admin.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Rotempco.Website.WebPages.Admin.PasswordSettings.Default" %>

<%@ Register Src="~/MasterPages/UserControls/EditBottomPanel.ascx" TagName="EditBottomPanel"
    TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <h2>
        Password Settings</h2>
    <table class="overviewtable">
        <tr>
            <td>
                <strong>Minimum password length:</strong>
            </td>
            <td>
                <asp:TextBox runat="server" ID="TextBox_MinimumPasswordLength" CssClass="digits" />
            </td>
        </tr>
        <tr>
            <td style="vertical-align: top">
                <strong>Password must contain:</strong>
            </td>
            <td>
                <table>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:CheckBox ID="CheckBox_PasswordMustContainCapitalLetter" Text="Password Must Capital Letter"
                                runat="server" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                        </td>
                        <td>
                            <asp:CheckBox ID="CheckBox_PasswordMustContainDigit" Text="Password Must Contain Digit"
                                runat="server" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <strong>Number of failed login requests:</strong>
            </td>
            <td>
                <asp:TextBox runat="server" ID="TextBox_NumberOfFailedLoginRequests"  CssClass="digits" />
            </td>
        </tr>
        <tr>
            <td>
                <strong>Pause minutes after number of failed logins:</strong>
            </td>
            <td>
                <asp:TextBox runat="server" ID="TextBox_PauseMinutesAfterNumberOfFailedLogins"  CssClass="digits" />
            </td>
        </tr>
        <tr>
            <td>
                <strong>Password expiration days:</strong>
            </td>
            <td>
                <asp:TextBox runat="server" ID="TextBox_PasswordExpirationDays"  CssClass="digits" />
            </td>
        </tr>
    </table>
    <uc1:EditBottomPanel DisableCancelButton="true" OnSaveEvent="button_Save" DisableReturnToListAfterSaveEvent="true"
        runat="server" />
</asp:Content>
